<?php
include '../conf/Conexion.php';

class Dao {

	public function insert_generic($object){

		$aux= implode(",", $object->campos);
		$table=$object->getTable();
		$sql = "INSERT INTO $table VALUES ($aux)";
		$result= mysql_query($sql);
		echo $sql;
		mysql_close();

	}

	function buscar($id){

		$sql = "INSERT INTO $table VALUES ($aux)";
		$result= mysql_query($sql);

	}
}

?>